use Auth; $user_id = Auth::user()->id;
composer require laravel/ui "^2.0"
composer require laravel/ui